package com.s3.khospitalds.common;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

@Component
@Data
public class ResponseEntity<T> implements Serializable {
    private int code = 0;//状态
    private String msg = "success";//消息
    private int count;//总行数
    private List<T> data;//数据集合
}
